package com.xxmw.transaction.common.utils.symbolFormat.impl;

import com.xxmw.transaction.common.utils.symbolFormat.SymbolFormat;

/**
 * 火币交易对格式化相关
 */
public class HuobiSymbolFormat implements SymbolFormat {

    @Override
    public String symbolFormat(String baseCurrency, String quoteCurrency) {
        String symbol = baseCurrency + quoteCurrency;
        symbol = symbol.toLowerCase();
        return symbol;
    }

    @Override
    public String symbolStandardization(String symbol) {
        String symbolFormat = symbol.replace("-", "").toLowerCase();
        return symbolFormat;
    }
}
